#ifndef BOARDCOLUMN_H
#define BOARDCOLUMN_H

#include <QObject>
#include "ConnectFour.h"

class BoardColumn : public QObject {

    Q_OBJECT

public:
     explicit BoardColumn(QObject *parent = 0);
     int getNumberOfPieces() const;
     ConnectFour::Piece getPiece(int index) const;
     bool addPiece(ConnectFour::Piece color);
     void undoPiece();
     void resetPieces();
     bool isFull() const;

signals:

public slots:

private:
     ConnectFour::Piece pieces[NUM_ROWS];
     int numberOfPieces;
};

#endif // BOARDCOLUMN_H
